package com.yjh.auth.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 用户角色表
 *
 * @author GuoBin
 * @date 2020-07-10 10:57:08
 */
@Data
public class SysUserRole extends Model<SysUserRole> {
    private static final long serialVersionUID = 1L;

    /**
     * 用户ID
     */
    @TableId
    private Integer userId;
    /**
     * 角色ID
     */
    private Integer roleId;

}
